<!DOCTYPE html >
<html lang="en">
<head>
<meta charset="UTF-8">
<title>活动管理员</title>
<link rel="stylesheet" href="http://localhost:8080/vote/css/ActiveAdmin.css">
<script src="http://localhost:8080/vote/js/jquery-3.3.1.js"></script>
<link rel="stylesheet" href="http://localhost:8080/vote/layui/css/layui.css">
<script src="http://localhost:8080/vote/layui/layui.js"></script>
<script src="http://localhost:8080/vote/js/ActiveAdmin.js"></script>
</head>
<body>
	<div class="navda">
		<div class="nav">
			<div class="im">
				<img src="images/">
			</div>
			<p class="text">欢迎:<span id="username1"></span></p>
		</div>
		<ul class="layui-nav layui-nav-tree layui-inline" lay-filter="demo"
			style="height: 470px; width: 280px">
			<li class="layui-nav-item layui-nav-itemed"><a href="#">比赛详情</a>
				<dl class="layui-nav-child">
					<dd>
						<a href="javascript:;" id="ron1">添加赛事</a>
					</dd>
					<dd>
						<a href="javascript:;" id="ron2">添加赛事对决表</a>
					</dd>
					<dd>
						<a href="javascript:;" id="ron3">修改赛事</a>
					</dd>
					<dd>
						<a href="javascript:;" id="ron6">对决表信息</a>
					</dd>
				</dl></li>
			<li class="layui-nav-item"><a href="#">当前赛事控制</a>
				<dl class="layui-nav-child">
					<dd>
						<a href="javascript:;" id="ron4">赛事详情</a>
					</dd>
					<dd>
						<a href="javascript:;" id="ron5">赛事统计</a>
					</dd>
					
				</dl></li>
			<li class="layui-nav-item"><a href="">修改个人信息</a></li>
			<li class="layui-nav-item"><a href="">臣退了</a></li>
		</ul>
	</div>
	<div class="title">
		<h1>欢迎:<h id="username2"></h></h1>
	</div>
	<div class="demo">
		<div class="ron1">
			<div class="clears"></div>
			<form class="layui-form" action=""
				style="width: 450px; margin-left: auto; margin-right: auto; margin-top: 20px">
				<div class="layui-form-item">
					<label class="layui-form-label">比赛名称</label>
					<div class="layui-input-block">
						<input type="text" name="raceName" required lay-verify="required"
							placeholder="比赛名" autocomplete="off" class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">比赛地址</label>
					<div class="layui-input-block">
						<input type="text" name="raceAddress" required
							lay-verify="required" placeholder="比赛地址" autocomplete="off"
							class="layui-input">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">比赛时间</label>
					<div class="layui-input-block">
						<input type="text" name="raceTime" required lay-verify="required"
							placeholder="比赛时间" autocomplete="off" class="layui-input"
							id="test1">
					</div>
				</div>
				<div class="layui-form-item">
					<label class="layui-form-label">比赛介绍</label>
					<div class="layui-input-block">
						<textarea name="include" required lay-verify="required"
							placeholder="比赛介绍" class="layui-textarea"></textarea>
					</div>
				</div>
				<div class="layui-form-item">
					<div class="layui-input-block">
						<button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
						<button type="reset" class="layui-btn layui-btn-primary">重置</button>
					</div>
				</div>
			</form>

		</div>
		<div class="ron2">
			<div class="ron2_1">
				<table class="layui-hide" id="test" lay-filter="race"></table>
				<div class="tou">
					<p class="dent" style="width:400px;float:left">赛事名称:<span class="font"></span>
					<span class="fontid" style="display:none;"></span></p>
					<form class="layui-form" action=""
						style="width: 620px; margin-left: auto; margin-right: auto; margin-top: 20px;float:left">
						<div  style="width:300x;float:left;margin-top:10px;">
							<label class="layui-form-label">歌手1:</label>
							<div class="layui-input-inline">
								<input type="text" name="raceName" required
									lay-verify="required" placeholder="请输入歌名姓名" autocomplete="off"
									class="layui-input" id="singerName1">
									
							</div>
						</div>
						<div style="width:300x;float:left;margin-top:10px;" >
							<label class="layui-form-label">歌手1歌名:</label>
							<div class="layui-input-inline">
								<input type="text" name="raceName" required
									lay-verify="required" placeholder="请输入歌名" autocomplete="off"
									class="layui-input" id="singerMus1">
							</div>
						</div>
						<div style="width:300x;float:left;margin-top:10px;" >
							<label class="layui-form-label">歌手2:</label>
							<div class="layui-input-inline">
								<input type="text" name="raceName" required
									lay-verify="required" placeholder="请输入歌名姓名" autocomplete="off"
									class="layui-input" id="singerName2">
							</div>
						</div>
						<div style="width:300x;float:left;margin-top:10px;"  >
							<label class="layui-form-label">歌手2歌名:</label>
							<div class="layui-input-inline">
								<input type="text" name="raceAddress" required
									lay-verify="required" placeholder="请输入歌名" autocomplete="off"
									class="layui-input" id="singerMus2">
							</div>
						</div>
						
						<div  style="margin-top:5px;">
							<div class="layui-input-block">
								<button class="layui-btn" lay-submit lay-filter="formmus">立即提交</button>
								<button type="reset" class="layui-btn layui-btn-primary">重置</button>
							</div>
						</div>
					</form>
				</div>
			</div>
			<div class="ron2_2">
			    <table class="layui-hide" id="singer" lay-filter="singer"></table>
			</div>
		</div>
		<div class="ron3">
		      <table class="layui-table" id="updatarace" lay-filter="updatarace"></table>
		</div>
		<div class="ron4">
		   <div class="ron4_1">
		        <table class="layui-table" id="raceinfor" lay-filter="raceinfor"></table>
		   </div>
		   <div class="ron4_2">
		        <table class="layui-table" id="racesinger" lay-filter="racesinger"></table>
		        <p ><h2 style="float:left;">当前赛事名称:</h2><span class="went" style="font-size:20px;float:left;"></span>
		         <span class="pades" style="font-size:20px;float:left;margin-left:20px"></span>
		        </p>
		   </div>
		</div>
		<div class="ron5">
		  <div class="ron4_1">
		      <table class="layui-table" id="raceinfor1" lay-filter="raceinfor1"></table>
		  </div>
		   <div class="ron4_2">
		     <table class="layui-table" id="singerscore" lay-filter="singerscore"></table>
		  </div>
		</div>
		<div class="ron6">
		     <div class="ron4_1">
		      <table class="layui-table" id="raceinfor2" lay-filter="raceinfor2"></table>
		  </div>
		   <div class="ron4_2">
		     <table class="layui-table" id="fighttable" lay-filter="fighttable"></table>
		  </div>
		</div>
	</div>
	<div class="footer">
		<p>郑绪洪团队责任有限公司</p>
	</div>
	<script type="text/html" id="barDemo">
  
      <a class="layui-btn layui-btn-xs" lay-event="edit">查看</a>
  
   </script>
   <script type="text/html" id="deleterace">
     <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del" style="width:120px;">删除</a>
  </script>
   <script type="text/html" id="singerid">
  
  {{#  if(d.status == 1){ }}
    <a class="layui-btn layui-btn-xs layui-btn-disabled" >已选</a>
  {{#  } else { }}
    <a class="layui-btn layui-btn-xs" lay-event="edit">选择</a>
  {{#  } }}
  
   </script>
   <script type="text/html" id="fight">
     <a class="layui-btn  layui-btn-xs a" lay-event="detail" >开始</a>
     <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">结束</a>
     
  </script>
  
  <script type="text/html" id="deletefight">
  
  <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del" style="width:120px;">删除</a>
</script>
</body>

</html>